Package-level declarations

Types

Link copied to clipboard
class CreateExchangeRequest(val rfq: Rfq, val replyTo: String? = null)

Data class used to type request body to create exchange via TbdexHttpServer.

Link copied to clipboard
class ErrorDetail(val id: String? = null, val status: String? = null, val code: String? = null, val title: String? = null, val detail: String, val source: Source? = null, val meta: Map<String, Any?>? = null)

Error detail.

Link copied to clipboard
class ErrorResponse(val errors: List<ErrorDetail>)

Error response

Link copied to clipboard
typealias Exchange = List<Message>
Link copied to clipboard
class GetExchangesFilter(val exchangeIds: List<String>)

A filter object used to query exchanges.

Link copied to clipboard
class GetOfferingsFilter(val payinCurrency: String? = null, val payoutCurrency: String? = null, val id: String? = null)

A filter object used to query offerings.

Link copied to clipboard
class Source(val pointer: String?, val parameter: String?, val header: String?)

Source.

Link copied to clipboard
class TbdexResponseException(message: String, cause: Exception? = null, val errors: List<ErrorDetail>?) : Exception

Error response.